package com.github.rxyor.ddd.service.infrastructure.common.enums;

import com.github.rxyor.common.core.enums.KvEnum;
import lombok.Getter;
import lombok.ToString;

/**
 *<p>
 *
 *</p>
 *
 * @author liuyang
 * @date 2019/10/3 周四 17:22:00
 * @since 1.0.0
 */
@ToString
public enum OrderStatusEnum implements KvEnum {

    DELETED(-1, "已删除"),
    ;

    @Getter
    private Integer code;

    @Getter
    private String desc;

    OrderStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
